package com.itcast.Extends2;

public class cat extends Annimal {
    @Override
    public void eat() {
        System.out.println("猫吃鱼");
    }

    public cat() {
    }

    public cat(String name, int id) {
        super(name, id);
    }
}
